<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Bootstrap -->
    <link href="bootstrap_3.3.7_css_bootstrap.min" rel="stylesheet">
    <title>echarts作品</title>
    <script src="echarts%2F4.1.0.rc2%2Fecharts.min"></script>
    <style>
    .container {
        width: 800px;
    }

    #main {
        height: 600px;
        width: 800px;
        margin: 20px auto;
    }
    </style>
</head>

<body>
    <div class="container">
        <h1>期末作业 <small>数据可视化</small></h1>
        <div id="main"></div>
        <div class="panel panel-primary">
            <div class="panel-heading">数据来源</div>
            <div class="panel-body">
                <p> 14.乔友林：如何消灭宫颈癌. 财新网.</p>
                <p>15.Medeiros LR, et al.Efficacy of human papillomavirus vaccines: a systematic quantitative review. Int J Gynecol Cancer.</p>
                <p>16.160国家已上市，FDA、WHO力挺宫颈癌疫苗：国内为何独缺席. 南方周末.</p>
                <p>17.中国药物审批时间过长,药企为省钱数据普遍造假. 网易数读.</p>
            </div>
        </div>
    </div>
    <script type="text/javascript">
    // 基于准备好的dom，初始化echarts实例
    var myChart = echarts.init(document.getElementById('main'));

    // 指定图表的配置项和数据
    var option = {
        title: {
            text: 'ECharts 入门示例'
        },
        tooltip: {},
        legend: {
            data: ['销量']
        },
        xAxis: {
            data: ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]
        },
        yAxis: {},
        series: [{
            name: '销量',
            type: 'bar',
            data: [5, 20, 36, 10, 10, 20]
        }]
    };

    // 使用刚指定的配置项和数据显示图表。
    myChart.setOption(option);
    </script>
    <script src="jquery_1.12.4_jquery.min"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="bootstrap_3.3.7_js_bootstrap.min"></script>
</body>

</html>
